From: Alan Third Date: Sat, 22 Aug 2020 15:31:02 +0000 (+0100) Subject: Fix NS build failure X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~5681 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e63a0c466c10d0b9de6a28e2ddd412226087bd27;p=emacs.git Fix NS build failure * src/thread.c: xgselect isn't used with NS, even when HAVE_GLIB is defined. --- diff --git a/src/thread.c b/src/thread.c index b4d8a53cf68..7ab1e6de1fc 100644 --- a/src/thread.c +++ b/src/thread.c @@ -28,7 +28,7 @@ along with GNU Emacs. If not, see . */ #include "pdumper.h" #include "keyboard.h" -#ifdef HAVE_GLIB +#if defined HAVE_GLIB && ! defined (HAVE_NS) #include #else #define release_select_lock() do { } while (0)